package com.foldingleaf.collections.service;

import com.foldingleaf.show.domain.SysCollection;

import java.util.List;


/**
 * 藏品详情Service接口
 * 
 * @author ajian
 * @date 2022-06-04
 */
public interface ISysCollectionService 
{
    /**
     * 查询藏品详情
     * 
     * @param collectionId 藏品详情主键
     * @return 藏品详情
     */
    public SysCollection selectSysCollectionByCollectionId(Long collectionId);

    /**
     * 查询藏品详情列表
     * 
     * @param sysCollection 藏品详情
     * @return 藏品详情集合
     */
    public List<SysCollection> selectSysCollectionList(SysCollection sysCollection);


    /**
     * 新增藏品详情
     * 
     * @param sysCollection 藏品详情
     * @return 结果
     */
    public int insertSysCollection(SysCollection sysCollection);

    /**
     * 修改藏品详情
     * 
     * @param sysCollection 藏品详情
     * @return 结果
     */
    public int updateSysCollection(SysCollection sysCollection);

    /**
     * 批量删除藏品详情
     * 
     * @param collectionIds 需要删除的藏品详情主键集合
     * @return 结果
     */
    public int deleteSysCollectionByCollectionIds(Long[] collectionIds);

    /**
     * 删除藏品详情信息
     * 
     * @param collectionId 藏品详情主键
     * @return 结果
     */
    public int deleteSysCollectionByCollectionId(Long collectionId);
}
